home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
001-100
/
001-025
/
004
/
kermit
/
makefile
< prev
next >
Wrap
Makefile
|
1995-03-17
|
2KB
|
59 lines
# @(#)Makefile 1.1 1/26/85
# Kermit is a communications utility to allow two
# wildly different computer systems to communicate.
# If the macro based debugging package "dbug" is not available
# then change DBUG to null and DBUGLIB to null.
# To use the package, set DBUG to -DDBUG and DBUGLIB to "-ldbug".
# This makefile uses only the bare capabilities of make, avoiding
# things like built-in rules. This helps to make it portable to
# more primitive (non-unix) versions of make.
CC = cc
SPEED = -DDEF_SPEED=9600
LINE = -DDEF_LINE=\"SER:\"
#DBUG = -DDBUG
CFLAGS = -O $(DBUG)
#DBUGLIB = -ldbug
LINTHARD = $(DBUG)
DEFS = $(SPEED) $(LINE)
OBJECTS = connect.o error.o globals.o main.o receive.o send.o tty.o usage.o utils.o
kermit : $(OBJECTS)
cc -o kermit $(OBJECTS) $(DBUGLIB)
connect.o : kermit.h manifest.h globals.h errors.h connect.c
$(CC) $(CFLAGS) -c connect.c
error.o : kermit.h manifest.h globals.h errors.h error.c
$(CC) $(CFLAGS) -c error.c
globals.o : kermit.h manifest.h globals.h globals.c
$(CC) $(CFLAGS) $(DEFS) -c globals.c
main.o : kermit.h manifest.h globals.h errors.h main.c
$(CC) $(CFLAGS) -c main.c
receive.o : kermit.h manifest.h globals.h errors.h receive.c
$(CC) $(CFLAGS) -c receive.c
send.o : kermit.h manifest.h globals.h send.c
$(CC) $(CFLAGS) -c send.c
tty.o : kermit.h manifest.h globals.h errors.h tty.c
$(CC) $(CFLAGS) -c tty.c
usage.o : kermit.h manifest.h globals.h usage.c
$(CC) $(CFLAGS) -c usage.c
utils.o : kermit.h manifest.h globals.h utils.c
$(CC) $(CFLAGS) -c utils.c
linthard :
lint $(LINTHARD) *.c $(DBUGLIB) >lint.out